<?php
require_once ("src/db/connectdatabase.php");

function getIntroLoan() {
	$con = new ConnectDB();
	$tbl = "loans";
	$fn = array('introheader_loan', 'intro_loan');
	$condetion = array('loan_id' => "vay_ca_nhan");
	return $con -> getvalue($tbl, $fn, $condetion);
}
$intro = getIntroLoan();
	?>
<script type="text/javascript">
    document.title = "Vay tín chấp - Đăng ký vay tín chấp tiêu dùng cá nhân";
</script>
<link rel="stylesheet" type="text/css" href="<?php echo($host) ?>css/jquery-ui.css"/>

    <div class="text12" style="margin: auto; width: 970px; height: 11px; margin-top: 11px; color: #0a8bd9;">
    <u><a href="index.php" class="text12" style="color: #0080d6;">Trang Chủ</a></u>&gt; Đăng ký vay tín chấp trực tuyến</div>
<?php 
if(count($intro) == 1) {
?>
<div class="text11" style="color: #4c4c4c; width: 950px; margin-left: 8px; margin-top: 10px;"><?php echo($intro[0][1]) ?></div>
<?php
}
?>
<?php 
	include('form_apply_personal.php');
?>
<div class="text11" style="margin: auto; color: #88a943; font-size: 17px; font-weight: bold;"></div> <br>

<div>
<?php 
	if(count($intro) == 1) {
	?>
    <div class="text11" style="color: #4c4c4c; width: 950px; margin-left: 8px; margin-top: 10px;"><?php echo($intro[0][0]) ?></div>
    <?php
	}
	?>
</div>